On Data Structures and Memory Models
نویسنده
چکیده
In this thesis we study the limitations of data structures and how they can be overcome through careful consideration of the used memory models. The word RAM model represents the memory as a finite set of registers consisting of a constant number of unique bits. From a hardware point of view it is not necessary to arrange the memory as in the word RAM memory model. However, it is the arrangement used in computer hardware today. Registers may in fact share bits, or overlap their bytes, as in the RAM with Byte Overlap (RAMBO) model. This actually means that a physical bit can appear in several registers or even in several positions within one register. The RAMBO model of computation gives us a huge variety of memory topologies/models depending on the appearance sets of the bits. We show that it is feasible to implement, in hardware, other memory models than the word RAM memory model. We do this by implementing a RAMBO variant on a memory board for the PC100 memory bus. When alternative memory models are allowed, it is possible to solve a number of problems more efficiently than under the word RAM memory model. We look at three priority queue related problems: the Discrete Extended Priority Queue, the Time Queue, and the Prefix Sum problems. We side-step several lower bounds for the discrete extended priority queue problem and the prefix sum problem by allowing alternative memory models. We suggest two data structures and algorithms, which provide all the operations for the two problems in worst case constant time. It is not possible to achieve this time bound using the word RAM memory model. We also suggest a data structure for the time queue problem. The algorithms run in expected constant time for the operations that delete the minimum element and worst case constant time for the other operations. The data structure can be maintained by several processes that share a part of the memory. Finally, we also show that it is possible to replace the ALU in a processor with memory while still keeping the ALUs functionality. Hence it is well worth and practical to consider alternative memory models, at least for special purpose processors.
منابع مشابه
Reducing Computational and Memory Cost of Substructuring Technique in Finite Element Models
Substructuring in the finite element method is a technique that reduces computational cost and memory usage for analysis of complex structures. The efficiency of this technique depends on the number of substructures in different problems. Some subdivisions increase computational cost, but require little memory usage and vice versa. In the present study, the cost functions of computations and me...
متن کاملEvaluation of Seismic Response of Concrete Structures Reinforced by Shape Memory Alloys (Technical Note)
Shape memory alloys (SMAs) are unique smart materials that have many advantages, such as ability to resist large strains without leaving residual strains and ability to recover original form. However, the high costs of SMAs have limited their usage. This paper evaluates the behavior of concrete structures equipped with SMAs in an optimal manner as they are being used along the plastic hinge of ...
متن کاملComparison of Learning and Memory in Morphine Dependent Rats using Different Behavioral Models
There are several conflicting evidences showing the effect of morphine on learning and memory processes. In the present study the effect of chronic morphine administration on passive avoidance, active avoidance and spatial learning and memory of morphine dependent male rats using Passive Avoidance shuttle box and Morris Water Maze tasks were investigated, respectively. Male rats received morphi...
متن کاملThe state dependency effect of morphine on memory by behavioral and electrophysiological methods in freely moving rats
Endogenous opioid system agonists exert amnestic effects in different models of memory. It has been suggested that these amnestic effects may be linked indirectly to state-dependent learning. Accordingly pre-training administration of morphine can impair the retrieval of learned tasks in a state dependent manner, which is reversible by pre test morphine administration. In this study, state depe...
متن کاملThe state dependency effect of morphine on memory by behavioral and electrophysiological methods in freely moving rats
Endogenous opioid system agonists exert amnestic effects in different models of memory. It has been suggested that these amnestic effects may be linked indirectly to state-dependent learning. Accordingly pre-training administration of morphine can impair the retrieval of learned tasks in a state dependent manner, which is reversible by pre test morphine administration. In this study, state depe...
متن کاملThe Effect of Ethanolic The effect of ethanolic extract of Saffron (Crocus sativus L.) on improving the spatial memory parameters in the experimental models of Parkinson disease in male rats
Background & Objective: The axial role of the oxidative stress in the pathophysiology of Parkinson disease has been identified. On the other hand, the learning and memory impairment in Parkinson disease has a distinguished outlook. Since Saffron has antioxidative stress effects, the aim of the present study is to investigate the improving effects of Saffron extract on the spatial memory paramet...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006